<?php

namespace app\frontend\controller;

use app\frontend\BaseController;
use app\model\Reservation as ModelReservation;

class Reservation extends BaseController
{
    public function list()
    {
        $model = new ModelReservation();
        $data = $model->getReservations(1, 20);

        return json_return($data);
    }
}
